

package ro.ase.catalog.security.dao;

import ro.ase.catalog.beans.User;
import ro.ase.catalog.dao.IGenericDAO;

import java.util.List;


public interface IUserDAO extends IGenericDAO<User, Integer> {
    

    public User findByUsername(String username);


    public Integer findByFullnameVagueCount(String fullName);


    public List<User> findByFullnameVaguePerPage(String fullName, int start, int limit);
    

    public List<User> findByRoleIdPerPage(int roleId, int start, int limit);


    public Integer findByRoleIdCount(int roleId);
}
